package com.cskaoyan.service;

import com.cskaoyan.bean.Category;
import com.cskaoyan.bean.CategoryBO;
import com.cskaoyan.bean.CategoryL1;

import java.util.List;

/**
 * @author pengyehua
 * @date 2020/12/6 16:43
 */
public interface AdminCategoryService {
    List<CategoryBO> queryIdAndName();

    List<CategoryL1> queryCategory();

    Category insertCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(Category category);

    int queryL2Count(Category category);

    int queryGoodsCount(Category category);
}
